package mn.idax.exchange.otc.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OTCUser implements Serializable {
    private Integer id;

    private Integer userid;

    private Integer tradenumber;

    private BigDecimal goodrate;

    private Integer goodnumber;

    private Integer badnumber;

    private String iconurl;

    private Date createtime;

    private Date updatetime;

    private Integer userstatus;

    private BigDecimal historyturnover;

    private String uniquekey;

    private Integer normalnumber;

    private Boolean isupdated;

    private byte[] rowversion;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getTradenumber() {
        return tradenumber;
    }

    public void setTradenumber(Integer tradenumber) {
        this.tradenumber = tradenumber;
    }

    public BigDecimal getGoodrate() {
        return goodrate;
    }

    public void setGoodrate(BigDecimal goodrate) {
        this.goodrate = goodrate;
    }

    public Integer getGoodnumber() {
        return goodnumber;
    }

    public void setGoodnumber(Integer goodnumber) {
        this.goodnumber = goodnumber;
    }

    public Integer getBadnumber() {
        return badnumber;
    }

    public void setBadnumber(Integer badnumber) {
        this.badnumber = badnumber;
    }

    public String getIconurl() {
        return iconurl;
    }

    public void setIconurl(String iconurl) {
        this.iconurl = iconurl == null ? null : iconurl.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getUserstatus() {
        return userstatus;
    }

    public void setUserstatus(Integer userstatus) {
        this.userstatus = userstatus;
    }

    public BigDecimal getHistoryturnover() {
        return historyturnover == null ? BigDecimal.ZERO : historyturnover;
    }

    public void setHistoryturnover(BigDecimal historyturnover) {
        this.historyturnover = historyturnover;
    }

    public String getUniquekey() {
        return uniquekey;
    }

    public void setUniquekey(String uniquekey) {
        this.uniquekey = uniquekey == null ? null : uniquekey.trim();
    }

    public Integer getNormalnumber() {
        return normalnumber;
    }

    public void setNormalnumber(Integer normalnumber) {
        this.normalnumber = normalnumber;
    }

    public Boolean getIsupdated() {
        return isupdated;
    }

    public void setIsupdated(Boolean isupdated) {
        this.isupdated = isupdated;
    }

    public byte[] getRowversion() {
        return rowversion;
    }

    public void setRowversion(byte[] rowversion) {
        this.rowversion = rowversion;
    }
}